#region Copyright
/// <copyright>
/// Copyright (c) 2007 Ilia Shramko.
/// Released under the terms of the GNU General Public License.
/// </copyright>
#endregion

using System;
using System.Collections.Generic;
using System.Text;

namespace Osh.Subtitles
{
	/// <summary>
	/// ISubtitleProvider interface provides scripting access to subtitles.
	/// </summary>
	public interface ISubtitleProvider
	{
		/// <summary>
		/// Subtitles delay in milliseconds.
		/// Positive number leads to showing subtitles later than video, negative - earlier.
		/// </summary>
		int Delay { get; set; }

		event EventHandler<SubtitlesEventArgs> SubtitlesChange;
	}
}
